3.4.60 \(\int \frac {x^2 \sqrt {c+d x^3}}{a+b x^3} \, dx\) [360]

Optimal. Leaf size=70 \[ \frac {2 \sqrt {c+d x^3}}{3 b}-\frac {2 \sqrt {b c-a d} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {b c-a d}}\right )}{3 b^{3/2}} \]

[Out]

-2/3*arctanh(b^(1/2)*(d*x^3+c)^(1/2)/(-a*d+b*c)^(1/2))*(-a*d+b*c)^(1/2)/b^(3/2)+2/3*(d*x^3+c)^(1/2)/b

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {455, 52, 65, 214} \begin {gather*} \frac {2 \sqrt {c+d x^3}}{3 b}-\frac {2 \sqrt {b c-a d} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {b c-a d}}\right )}{3 b^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^2*Sqrt[c + d*x^3])/(a + b*x^3),x]

[Out]

(2*Sqrt[c + d*x^3])/(3*b) - (2*Sqrt[b*c - a*d]*ArcTanh[(Sqrt[b]*Sqrt[c + d*x^3])/Sqrt[b*c - a*d]])/(3*b^(3/2))

Rule 52

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^n/(b*(
m + n + 1))), x] + Dist[n*((b*c - a*d)/(b*(m + n + 1))), Int[(a + b*x)^m*(c + d*x)^(n - 1), x], x] /; FreeQ[{a
, b, c, d}, x] && NeQ[b*c - a*d, 0] && GtQ[n, 0] && NeQ[m + n + 1, 0] &&  !(IGtQ[m, 0] && ( !IntegerQ[n] || (G
tQ[m, 0] && LtQ[m - n, 0]))) &&  !ILtQ[m + n + 2, 0] && IntLinearQ[a, b, c, d, m, n, x]

Rule 65

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 214

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]

Rule 455

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && EqQ[m
- n + 1, 0]

Rubi steps

\begin {align*} \int \frac {x^2 \sqrt {c+d x^3}}{a+b x^3} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {\sqrt {c+d x}}{a+b x} \, dx,x,x^3\right )\\ &=\frac {2 \sqrt {c+d x^3}}{3 b}+\frac {(b c-a d) \text {Subst}\left (\int \frac {1}{(a+b x) \sqrt {c+d x}} \, dx,x,x^3\right )}{3 b}\\ &=\frac {2 \sqrt {c+d x^3}}{3 b}+\frac {(2 (b c-a d)) \text {Subst}\left (\int \frac {1}{a-\frac {b c}{d}+\frac {b x^2}{d}} \, dx,x,\sqrt {c+d x^3}\right )}{3 b d}\\ &=\frac {2 \sqrt {c+d x^3}}{3 b}-\frac {2 \sqrt {b c-a d} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {b c-a d}}\right )}{3 b^{3/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.07, size = 70, normalized size = 1.00 \begin {gather*} \frac {1}{3} \left (\frac {2 \sqrt {c+d x^3}}{b}-\frac {2 \sqrt {-b c+a d} \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {-b c+a d}}\right )}{b^{3/2}}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^2*Sqrt[c + d*x^3])/(a + b*x^3),x]

[Out]

((2*Sqrt[c + d*x^3])/b - (2*Sqrt[-(b*c) + a*d]*ArcTan[(Sqrt[b]*Sqrt[c + d*x^3])/Sqrt[-(b*c) + a*d]])/b^(3/2))/
3

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 9 vs. order 3.
time = 0.34, size = 434, normalized size = 6.20 Too large to display

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(d*x^3+c)^(1/2)/(b*x^3+a),x,method=_RETURNVERBOSE)

[Out]

2/3*(d*x^3+c)^(1/2)/b+1/3*I/b/d^2*2^(1/2)*sum((-c*d^2)^(1/3)*(1/2*I*d*(2*x+1/d*(-I*3^(1/2)*(-c*d^2)^(1/3)+(-c*
d^2)^(1/3)))/(-c*d^2)^(1/3))^(1/2)*(d*(x-1/d*(-c*d^2)^(1/3))/(-3*(-c*d^2)^(1/3)+I*3^(1/2)*(-c*d^2)^(1/3)))^(1/
2)*(-1/2*I*d*(2*x+1/d*(I*3^(1/2)*(-c*d^2)^(1/3)+(-c*d^2)^(1/3)))/(-c*d^2)^(1/3))^(1/2)/(d*x^3+c)^(1/2)*(I*(-c*
d^2)^(1/3)*_alpha*3^(1/2)*d-I*3^(1/2)*(-c*d^2)^(2/3)+2*_alpha^2*d^2-(-c*d^2)^(1/3)*_alpha*d-(-c*d^2)^(2/3))*El
lipticPi(1/3*3^(1/2)*(I*(x+1/2/d*(-c*d^2)^(1/3)-1/2*I*3^(1/2)/d*(-c*d^2)^(1/3))*3^(1/2)*d/(-c*d^2)^(1/3))^(1/2
),1/2*b/d*(2*I*(-c*d^2)^(1/3)*3^(1/2)*_alpha^2*d-I*(-c*d^2)^(2/3)*3^(1/2)*_alpha+I*3^(1/2)*c*d-3*(-c*d^2)^(2/3
)*_alpha-3*c*d)/(a*d-b*c),(I*3^(1/2)/d*(-c*d^2)^(1/3)/(-3/2/d*(-c*d^2)^(1/3)+1/2*I*3^(1/2)/d*(-c*d^2)^(1/3)))^
(1/2)),_alpha=RootOf(_Z^3*b+a))

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(d*x^3+c)^(1/2)/(b*x^3+a),x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(a*d-b*c>0)', see `assume?` for
 more detail

________________________________________________________________________________________

Fricas [A]
time = 3.55, size = 156, normalized size = 2.23 \begin {gather*} \left [\frac {\sqrt {\frac {b c - a d}{b}} \log \left (\frac {b d x^{3} + 2 \, b c - a d - 2 \, \sqrt {d x^{3} + c} b \sqrt {\frac {b c - a d}{b}}}{b x^{3} + a}\right ) + 2 \, \sqrt {d x^{3} + c}}{3 \, b}, -\frac {2 \, {\left (\sqrt {-\frac {b c - a d}{b}} \arctan \left (-\frac {\sqrt {d x^{3} + c} b \sqrt {-\frac {b c - a d}{b}}}{b c - a d}\right ) - \sqrt {d x^{3} + c}\right )}}{3 \, b}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(d*x^3+c)^(1/2)/(b*x^3+a),x, algorithm="fricas")

[Out]

[1/3*(sqrt((b*c - a*d)/b)*log((b*d*x^3 + 2*b*c - a*d - 2*sqrt(d*x^3 + c)*b*sqrt((b*c - a*d)/b))/(b*x^3 + a)) +
 2*sqrt(d*x^3 + c))/b, -2/3*(sqrt(-(b*c - a*d)/b)*arctan(-sqrt(d*x^3 + c)*b*sqrt(-(b*c - a*d)/b)/(b*c - a*d))
- sqrt(d*x^3 + c))/b]

________________________________________________________________________________________

Sympy [A]
time = 2.63, size = 68, normalized size = 0.97 \begin {gather*} \frac {2 \left (\frac {d \sqrt {c + d x^{3}}}{3 b} - \frac {d \left (a d - b c\right ) \operatorname {atan}{\left (\frac {\sqrt {c + d x^{3}}}{\sqrt {\frac {a d - b c}{b}}} \right )}}{3 b^{2} \sqrt {\frac {a d - b c}{b}}}\right )}{d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(d*x**3+c)**(1/2)/(b*x**3+a),x)

[Out]

2*(d*sqrt(c + d*x**3)/(3*b) - d*(a*d - b*c)*atan(sqrt(c + d*x**3)/sqrt((a*d - b*c)/b))/(3*b**2*sqrt((a*d - b*c
)/b)))/d

________________________________________________________________________________________

Giac [A]
time = 0.59, size = 66, normalized size = 0.94 \begin {gather*} \frac {2 \, {\left (b c - a d\right )} \arctan \left (\frac {\sqrt {d x^{3} + c} b}{\sqrt {-b^{2} c + a b d}}\right )}{3 \, \sqrt {-b^{2} c + a b d} b} + \frac {2 \, \sqrt {d x^{3} + c}}{3 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(d*x^3+c)^(1/2)/(b*x^3+a),x, algorithm="giac")

[Out]

2/3*(b*c - a*d)*arctan(sqrt(d*x^3 + c)*b/sqrt(-b^2*c + a*b*d))/(sqrt(-b^2*c + a*b*d)*b) + 2/3*sqrt(d*x^3 + c)/
b

________________________________________________________________________________________

Mupad [B]
time = 6.16, size = 82, normalized size = 1.17 \begin {gather*} \frac {2\,\sqrt {d\,x^3+c}}{3\,b}+\frac {\ln \left (\frac {a\,d-2\,b\,c-b\,d\,x^3+\sqrt {b}\,\sqrt {d\,x^3+c}\,\sqrt {a\,d-b\,c}\,2{}\mathrm {i}}{b\,x^3+a}\right )\,\sqrt {a\,d-b\,c}\,1{}\mathrm {i}}{3\,b^{3/2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^2*(c + d*x^3)^(1/2))/(a + b*x^3),x)

[Out]

(2*(c + d*x^3)^(1/2))/(3*b) + (log((a*d - 2*b*c + b^(1/2)*(c + d*x^3)^(1/2)*(a*d - b*c)^(1/2)*2i - b*d*x^3)/(a
 + b*x^3))*(a*d - b*c)^(1/2)*1i)/(3*b^(3/2))

________________________________________________________________________________________